package com.fire.eyes.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 移保通专区表
 * </p>
 *
 * @author raoyuxing123
 * @since 2018-04-28
 */
@TableName("t_mit_theme")
public class TMitTheme extends Model<TMitTheme> {

    private static final long serialVersionUID = 1L;

    /**
     * 专区号
     */
    private Integer themeid;
    /**
     * 专区名称
     */
    private String themeidname;
    /**
     * 1 channel，2 shelf主题
     */
    private Integer sourcetype;
    /**
     * 渠道号 或者主题号
     */
    private Integer sourceid;


    public Integer getThemeid() {
        return themeid;
    }

    public void setThemeid(Integer themeid) {
        this.themeid = themeid;
    }

    public String getThemeidname() {
        return themeidname;
    }

    public void setThemeidname(String themeidname) {
        this.themeidname = themeidname;
    }

    public Integer getSourcetype() {
        return sourcetype;
    }

    public void setSourcetype(Integer sourcetype) {
        this.sourcetype = sourcetype;
    }

    public Integer getSourceid() {
        return sourceid;
    }

    public void setSourceid(Integer sourceid) {
        this.sourceid = sourceid;
    }

    @Override
    protected Serializable pkVal() {
        return this.themeid;
    }

    @Override
    public String toString() {
        return "TMitTheme{" +
        "themeid=" + themeid +
        ", themeidname=" + themeidname +
        ", sourcetype=" + sourcetype +
        ", sourceid=" + sourceid +
        "}";
    }
}
